Telegram Group & Telegram Channel
Представим, что в сложном приложении вы внедряете зависимости через конструктор, и у класса более 8 параметров. Какие из подходов являются наиболее правильными для решения этой проблемы?
Anonymous Quiz
Оставить 8 параметров — это нормально, конструктора много не бывает.
Использовать паттерн Builder для создания объекта с большим количеством зависимостей.
Переключиться на внедрение через поля (Field Injection) для сокращения конструктора.
Создавать зависимости внутри класса, чтобы сократить параметры конструктора.
Использовать сервис-локатор для всех зависимостей.
294 answered



tg-me.com/java_problems_lib/1246
Create:
Last Update:

BY Библиотека задач по Java | тесты, код, задания


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_problems_lib/1246

View MORE
Open in Telegram


Библиотека задач по Java | тесты код задания Telegram | DID YOU KNOW?

Date: |

Telegram Be The Next Best SPAC

I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.

A project of our size needs at least a few hundred million dollars per year to keep going,” Mr. Durov wrote in his public channel on Telegram late last year. “While doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.

Библиотека задач по Java | тесты код задания from br


Telegram Библиотека задач по Java | тесты, код, задания
FROM USA